<!DOCTYPE html>
<html lang="en"xmlns="http://www.w3.org/1999/xhtml"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!--th:text属性 替换当前标签的文本内容，Hello MyThymeleaf替换了yangli-->
<h1 th:text="${YL}">yangli</h1>
</body>
</html>